package com.iot.auth.domain;

public class AccessToken {
	private String access_token;// 获取的Access Token
	private String token_type;// 令牌类型“bearer”或“mac”，暂无很明确的说明，通常是brearer或省略
	private long expires_in;// Access Token的有效期，以秒为单位
	private String refresh_token;// 用于刷新Access Token 的 Refresh Token
	private String scope;// Access Token最终的访问范围，即用户实际授予的权限列表，用户在授权页面时，有可能会取消掉某些请求的权限，通常只作或只有登录认证的话，可忽略

	public String getAccess_token() {
		return access_token;
	}

	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	}

	public String getToken_type() {
		return token_type;
	}

	public void setToken_type(String token_type) {
		this.token_type = token_type;
	}

	public long getExpires_in() {
		return expires_in;
	}

	public void setExpires_in(long expires_in) {
		this.expires_in = expires_in;
	}

	public String getRefresh_token() {
		return refresh_token;
	}

	public void setRefresh_token(String refresh_token) {
		this.refresh_token = refresh_token;
	}

	public String getScope() {
		return scope;
	}

	public void setScope(String scope) {
		this.scope = scope;
	}

}
